<?php

function query_name($user_id) {
	$query = "SELECT first_name FROM users WHERE user_id = ?";
	$name = query($query, array($user_id));
	return $name;
}
